package com.bk.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "bk-employee") // 需要调用的服务实例名 不区分大小写
@Service
public interface RedisMenuGetService {
	
	@GetMapping("/HasRedisKey/{key}")
	public Boolean hasKey(@PathVariable("key") String key);
	
}
